<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8"" />
		
		<title>Web Error PHP Toolkit&#39;s JavaScript</title>
		<meta name="generator" content="JsDoc Toolkit" />
		
    <script type="text/javascript" src="jproton.js"></script>
    <script type="text/javascript" src="ui.js"></script>
    <script type="text/javascript" src="sh.js"></script>
		<link rel=stylesheet href="sh.css" type="text/css">
		<link rel=stylesheet href="default.css" type="text/css">
		<style>
  .fixed { position: fixed; }
</style>
<!--[if lte IE 7]>
	<style type="text/css">
		.fixed { 
			position: absolute !important; 
		}
		body { 
			height: 100% !important; 
			width: 100% !important;
			margin: 0 !important;
			padding: 0 !important;
			position: relative;  
		}
		html { 
			overflow-y: hidden !important;  
		}
		#main-wrapper { 
			position: relative !important; 
			overflow-y: scroll !important;
			overflow-x: hidden !important;
			height: 100% !important; 
			width: 100% !important; 
			margin: 0 !important; 
		}
	</style>
<![endif]-->

	</head>

	<body>
		<div id="main-wrapper">
			<div id="main">
			
				<div id="index" class="fixed">
					<div id="index-wrapper">
	<div class="header">
	  <div id="index-close" title="Esconde o outline.">&nbsp;</div>
	  <div id="index-title">JavaScript Index</div>
	</div>
	<div id="index-menu"><a href="index.html">Class Index</a>
	| <a href="files.html">File Index</a></div>
	
	<div id="index-content">
		
		<div class="classList">
			
			<div class="section">
				<div title='Global namespace.' class='itemName namespace'>
				<div class='method-toggler'>&nbsp;</div><span class='icon'><i><a href="symbols/_global_.html">_global_</a></i></span></div><div class='sectionItems'><div class='sectionItem classProperty'><b class='icon' title='setTimeout() returns a numeric timeout ID that can be used to track the timeout.'><a href="symbols/_global_.html#gTimeoutBingID">gTimeoutBingID</a></b></div><div class='sectionItem classMethod'><b class='icon' title='Main function that performs Bing search based upon the search terms provided either upon upload of Error.php file or from search box entry.'><a href="symbols/_global_.html#searchBingJSON">searchBingJSON</a></b><span class='signature'>(<span title="string search terms">query_param</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Gets the source types for the request.'><a href="symbols/_global_.html#getSourcesList">getSourcesList</a></b><span class='signature'>()</span></div><div class='sectionItem classMethod'><b class='icon' title='JavaScript code (called an expression) will be run a specified number of milliseconds from when the setTimeout() method was called.'><a href="symbols/_global_.html#timeoutBingCallback">timeoutBingCallback</a></b><span class='signature'>()</span></div><div class='sectionItem classMethod'><b class='icon' title='Sleep in milliseconds, simulating heavy processing and for misc performance measurements.'><a href="symbols/_global_.html#sleep">sleep</a></b><span class='signature'>(<span title="integer">milliseconds</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Executes the searchBingJSON by loading the script into the SearchCallback script block.'><a href="symbols/_global_.html#executeSearchRequest">executeSearchRequest</a></b><span class='signature'>(<span title="string Bing JSON endpoint URL with Bing search parameters in path.">url</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Builds a Bing API searchBingJSON request from an endpoint URL and parameter dictionary.'><a href="symbols/_global_.html#buildUrl">buildUrl</a></b><span class='signature'>(<span title="string">endpoint</span>, <span title="associative array of string key value pairs.">parameterList</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Search callback called by the Bing API JSON block.'><a href="symbols/_global_.html#searchBingCallback">searchBingCallback</a></b><span class='signature'>(<span title="JSON response from Bing.">results</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='List Web Results from Bing Search'><a href="symbols/_global_.html#searchBingErrors">searchBingErrors</a></b><span class='signature'>(<span title="mixed array of Error results">responseBing</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='List Web Results from Bing Search'><a href="symbols/_global_.html#searchBingResultListWeb">searchBingResultListWeb</a></b><span class='signature'>(<span title="mixed array of Web results">responseBing</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='List Image Results from Bing Search'><a href="symbols/_global_.html#searchBingResultImageGallery">searchBingResultImageGallery</a></b><span class='signature'>(<span title="mixed array of Image results">responseBing</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Clears all children under a node.'><a href="symbols/_global_.html#clearChildren">clearChildren</a></b><span class='signature'>(<span title="document element">node</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Creates the separator object that exists between two result items.'><a href="symbols/_global_.html#createSeparator">createSeparator</a></b><span class='signature'>()</span></div><div class='sectionItem classMethod'><b class='icon' title='Creates the description block with highlights used to display the caption from web results.'><a href="symbols/_global_.html#createDescriptionBlock">createDescriptionBlock</a></b><span class='signature'>(<span title="string Element text">text</span>, <span title="string CSS class">cssClass</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Creates the description block used to display the caption from web results.'><a href="symbols/_global_.html#createTextBlock">createTextBlock</a></b><span class='signature'>(<span title="string Element text">text</span>, <span title="string CSS class">cssClass</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Creates a link element from href, inner text and css class.'><a href="symbols/_global_.html#createLinkBlock">createLinkBlock</a></b><span class='signature'>(<span title="string link">href</span>, <span title="string Element text">text</span>, <span title="string CSS class">cssClass</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Creates a link element with highlights from href, inner text and css class.'><a href="symbols/_global_.html#createLink">createLink</a></b><span class='signature'>(<span title="string link">href</span>, <span title="string Element text">text</span>, <span title="string CSS class">cssClass</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Creates a link element from href, inner text and css class.'><a href="symbols/_global_.html#createImageLink">createImageLink</a></b><span class='signature'>(<span title="string link to image">urlImage</span>, <span title="string link to thumbnail image">urlImage</span>, <span title="integer width of image">width</span>, <span title="integer height of image">height</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='This function binds the query node from the searchBingJSON response to the results header section.'><a href="symbols/_global_.html#setResultsHeader">setResultsHeader</a></b><span class='signature'>(<span title="Bing JSON response node.">queryNode</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Sets the Domain hidden field'><a href="symbols/_global_.html#showIncludeDomains">showIncludeDomains</a></b><span class='signature'>()</span></div><div class='sectionItem classMethod'><b class='icon' title='The function strips out the site: {domain} section from the query to improve the look and feel of the site.'><a href="symbols/_global_.html#removeBingSiteDomains">removeBingSiteDomains</a></b><span class='signature'>(<span title="string Bing search request.">query</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Gets site domains prepared for Bing search query.'><a href="symbols/_global_.html#getBingSiteDomains">getBingSiteDomains</a></b><span class='signature'>()</span></div><div class='sectionItem classMethod'><b class='icon' title='Get Bing connection timeout.'><a href="symbols/_global_.html#getBingConnectTimeout">getBingConnectTimeout</a></b><span class='signature'>()</span></div><div class='sectionItem classMethod'><b class='icon' title='Get the domains that were included for this search.'><a href="symbols/_global_.html#getBingIncludedDomains">getBingIncludedDomains</a></b><span class='signature'>()</span></div><div class='sectionItem classMethod'><b class='icon' title='Gets the searchBingJSON domain from the Domain hidden field.'><a href="symbols/_global_.html#getBingSearchTerms">getBingSearchTerms</a></b><span class='signature'>()</span></div><div class='sectionItem classMethod'><b class='icon' title='Show no results.'><a href="symbols/_global_.html#showNoResults">showNoResults</a></b><span class='signature'>(<span>strMessage</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Prepare Bing search URL from Bing Assets' url.'><a href="symbols/_global_.html#setBingSearchUrl">setBingSearchUrl</a></b><span class='signature'>()</span></div><div class='sectionItem classMethod'><b class='icon' title='Prepare search logo from Bing Assets' url.'><a href="symbols/_global_.html#setBingSearchLogo">setBingSearchLogo</a></b><span class='signature'>()</span></div><div class='sectionItem classMethod'><b class='icon' title='Prepare search icon from Bing Assets' url.'><a href="symbols/_global_.html#setDoSearchIcon">setDoSearchIcon</a></b><span class='signature'>()</span></div><div class='sectionItem classMethod'><b class='icon' title='Determine if 'what' is either undefined or null.'><a href="symbols/_global_.html#isNull">isNull</a></b><span class='signature'>(<span title="Document element type">element</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Insert text between open/close tags.'><a href="symbols/_global_.html#insertElementInnerText">insertElementInnerText</a></b><span class='signature'>(<span title="Document element">element</span>, <span title="string Insert within provided Document element.">text</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Add  tags if Bing entered Highlighting characters are found.'><a href="symbols/_global_.html#highlightElementText">highlightElementText</a></b><span class='signature'>(<span title="Document element">element</span>, <span title="string Insert within Document element with highlights.">text</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Add  tags if Bing entered Highlighting characters are found.'><a href="symbols/_global_.html#highlightText">highlightText</a></b><span class='signature'>(<span title="string">text</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Is Custom404DebugEnabled set to Enable?'><a href="symbols/_global_.html#isDebugEnabled">isDebugEnabled</a></b><span class='signature'>()</span></div><div class='sectionItem classMethod'><b class='icon' title='Localized Alert debug'><a href="symbols/_global_.html#debugAlert">debugAlert</a></b><span class='signature'>(<span title="string Alert message">strMessage</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Simple pagination function'><a href="symbols/_global_.html#showPage">showPage</a></b><span class='signature'>(<span title="integer Page number in pagination.">pageId</span>, <span title="integer Total number of pages to paginate.">pageCount</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Get valid document element, and if not valid throw exception.'><a href="symbols/_global_.html#getValidElementById">getValidElementById</a></b><span class='signature'>(<span title="string Element ID">id</span>, <span title="boolean Throw exception if element is undefined.">fail_throw</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Get value of valid document element.'><a href="symbols/_global_.html#getValueByElementId">getValueByElementId</a></b><span class='signature'>(<span title="string Element ID">id</span>, <span title="boolean Throw exception if element is undefined.">fail_throw</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Set value of valid document element.'><a href="symbols/_global_.html#setValueByElementId">setValueByElementId</a></b><span class='signature'>(<span title="string Element ID">id</span>, <span title="mixed">value</span>, <span title="boolean Throw exception if element is undefined.">fail_throw</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Prepare upload of custom 404 page.'><a href="symbols/_global_.html#doUploadCustom404">doUploadCustom404</a></b><span class='signature'>()</span></div><div class='sectionItem classMethod'><b class='icon' title='Perform search based upon some event.'><a href="symbols/_global_.html#searchBingRequest">searchBingRequest</a></b><span class='signature'>(<span title="Event that triggered this request.">who</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Being search if key down is 'Enter'.'><a href="symbols/_global_.html#searchOnKeyDown">searchOnKeyDown</a></b><span class='signature'>(<span title="Keydown Event that triggered this request.">evt</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Upon loading this page, begin search.'><a href="symbols/_global_.html#setupSearchOnLoad">setupSearchOnLoad</a></b><span class='signature'>()</span></div><div class='sectionItem classMethod'><b class='icon' title='Initializes a new instance of the StringBuilder class and appends the given value if supplied'><a href="symbols/_global_.html#StringBuilder">StringBuilder</a></b><span class='signature'>(<span title="string Start of string being built.">value</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Replace all occurrances of s1 with s2.'><a href="symbols/_global_.html#replaceAll">replaceAll</a></b><span class='signature'>(<span title="string Split string wherever this values exists.">s1</span>, <span title="string Replace all splits with this value.">s2</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Replace HTML character codes with characters.'><a href="symbols/_global_.html#html_entity_decode">html_entity_decode</a></b><span class='signature'>()</span></div></div></div>
			
			<div class="section">
				<div title='' class='itemName namespace'>
				<div class='method-toggler'>&nbsp;</div><span class='icon'><a href="symbols/String.html">String</a></span></div><div class='sectionItems'><div class='sectionItem classMethod'><b class='icon' title=''><a href="symbols/String.html#format">format</a></b><span class='signature'>()</span></div><div class='sectionItem classMethod'><b class='icon' title=''><a href="symbols/String.html#.format">format</a></b><span class='signature'>()</span></div><div class='sectionItem classMethod'><b class='icon' title='Determine by regular expression if string ends with provided match.'><a href="symbols/String.html#endsWith">endsWith</a></b><span class='signature'>(<span title="Match">str</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Determine by regular expression if string starts with provided match.'><a href="symbols/String.html#startsWith">startsWith</a></b><span class='signature'>(<span title="Match">str</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Trim both ends of string with regular express of blanks.'><a href="symbols/String.html#trim">trim</a></b><span class='signature'>()</span></div><div class='sectionItem classMethod'><b class='icon' title='Trim left end of string with regular express of blanks.'><a href="symbols/String.html#ltrim">ltrim</a></b><span class='signature'>()</span></div><div class='sectionItem classMethod'><b class='icon' title='Trim right end of string with regular express of blanks.'><a href="symbols/String.html#rtrim">rtrim</a></b><span class='signature'>()</span></div></div></div>
			
		</div>
	</div>
</div>
	

				</div>
				<div id="index-toggler" class="fixed">&laquo;</div>
				
				<div class="header">
  Web Error PHP Toolkit&#39;s JavaScript
</div>

				
				<div id="content" class="index-page">

					<h1 class="classTitle">Class Index</h1>

					<div class="summary section"">
						<div class="sectionItems">
							
							<div class="itemName namespace">
								
								
								<span class="icon"><i><a href="symbols/_global_.html">_global_</a></i></span>
                <div class="full-description">
                  <p>
                    Global namespace.
                  </p>
							  </div>
							  
  						</div>
							
							<div class="itemName namespace">
								
								
  						</div>
							
						</div>
					</div>
					
				</div>
				<div class="fineprint" style="clear:both">
					
					Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.3.0 on Wed Oct 14 2009 14:01:49 GMT-0700 (PDT)
				</div>
			</div>
		</div>
		
	</body>
</html>
